Shell.ErrorCode

Returns 0 if the Execute method was executed successfully. Otherwise, it returns a system-supplied error code.

Syntax

ErrorCode( Integer ) as


Parameters

Integer


Notes

On Windows, it returns -1 if execution fails.